#include "Addr2LineUIApp.h"
#include "Addr2LineUIMain.h"
#include <wx/image.h>

IMPLEMENT_APP(Addr2LineUIApp);

bool Addr2LineUIApp::OnInit()
{
  wxApp::SetAppName   (wxT("内存地址到行用户界面"));
  //设置供应商名称
  wxApp::SetVendorName(wxT("MortenMacFly"));

  //初始化应用
  bool wxsOK = true;
  wxInitAllImageHandlers();
  if ( wxsOK )
  {
  	Addr2LineUIDialog Dlg(0);
  	SetTopWindow(&Dlg);
  	Dlg.ShowModal();
  	wxsOK = false;
  }
  return wxsOK;
}
